package com.example.online_exam_system;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

import javax.sql.DataSource;

@SpringBootApplication
@MapperScan(basePackages = {"com.example.online_exam_system.dao"})
@EnableCaching//开启springboot缓存  可用于方法上  类上
public class OnlineExamSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(OnlineExamSystemApplication.class, args);
    }

}
